package com.srit.migration.business.bean;

/**
 * @author guan
 * @description 数据表
 * 
 */
public class DbTable {
	private Integer id;// 主键
	private String tableName;
	private String schema;
	private Integer dbId;// 数据库名称
	private Integer virtualDbId;// 虚拟库id
	private VirtualDb virtualDb;// 虚拟库
	private Db db;// 数据库
	private String remarks;// 备注
	private boolean saved = false;// 保存标志位
	private String type;// table ,view,system table

	public boolean isSaved() {
		return saved;
	}

	public void setSaved(boolean saved) {
		this.saved = saved;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getSchema() {
		return schema;
	}

	public void setSchema(String schema) {
		this.schema = schema;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getDbId() {
		return dbId;
	}

	public void setDbId(Integer dbId) {
		this.dbId = dbId;
	}

	public Db getDb() {
		return db;
	}

	public void setDb(Db db) {
		this.db = db;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getVirtualDbId() {
		return virtualDbId;
	}

	public void setVirtualDbId(Integer virtualDbId) {
		this.virtualDbId = virtualDbId;
	}

	public VirtualDb getVirtualDb() {
		return virtualDb;
	}

	public void setVirtualDb(VirtualDb virtualDb) {
		this.virtualDb = virtualDb;
	}

}
